home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Re FW_CTextBoxShape < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Re: FW_CTextBoxShape
  2. Sent:        9/9/96 1:35 PM
  3. Received:    9/9/96 1:35 PM
  4. From:        bobc@bcstec.ca.boeing.com (Bob Carpenter)
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. > >I have noticed that when FW_CTextBoxShape::RenderText() draws text which
  10. > >contains a return character (\r), it skips the character. So the drawn text
  11. > >does not start a new line.
  12. > >
  13. > >It seems to me that it ought to recognize it. Can that be fixed for the
  14. > >next release, I need it!
  15. > Are you talking about FW_CTextBoxShape::RenderTextBox(), or 
  16. > FW_CTextShape::RenderText()? The first one does recognize CR and LF 
  17. > characters. (I tested this by pasting characters including a CR into ODF 
  18. > Hello part.)
  19. > Mary Boetcher
  20. > ODF Person
  21.  
  22.   Hello part does not work this way for me. For example, if I type
  23.   these three lines into SimpleText:
  24.  
  25.      Line1
  26.      Line2
  27.      Line3
  28.  
  29.   then drag&drop (or Cut&Paste) them into Hello part I see this in response:
  30.  
  31.      Line1Line2Line3
  32.  
  33.   I am using the latest Hello part from DR5. I have tried it with the editor
  34.   supplied on the CD and using one I compiled and built myself.
  35.  
  36.   Why the difference between what Mary is seeing and what I'm seeing?
  37.  
  38.   I need for this to work, as Mary describes.
  39.  
  40. Thanks.
  41.  
  42. -- 
  43.  
  44. --BobC
  45.  
  46.   Bob Carpenter
  47.   Boeing Commercial Airplanes
  48.   bob.carpenter@boeing.com